package com.tgy.generic;

import java.util.ArrayList;

/**
 * @Author: tgy
 * @Date: 12/3/20 3:03 PM
 */

class Pair {

    public static <E> E add(E e1,E e2) {

        return e2;
    }

}

public class Demo01 {

    public static void main(String[] args) {


        Pair.add(1,"11");

        ArrayList<String> list = new ArrayList<String>();

        System.out.println(Integer.BYTES);

        System.out.println(Short.BYTES);

        System.out.println(Byte.BYTES);

        System.out.println(Double.BYTES);

        System.out.println(Long.BYTES);

        System.out.println(Float.BYTES);

        System.out.println(Character.BYTES);

//        Boolean.valueOf()

        Integer.valueOf(23);
    }
}
